{include file="public/head" /}
  
  <body>
    <div class="x-body">
        <form class="layui-form" method="post" action="{url(roominfoEdit)}">
            <div>
                <input type="hidden" name="id"  value="{$info.id}">
            </div>
			<div class="layui-form-item">
                <label for="parking_name" class="layui-form-label">
                    <span class="x-red"></span>停车场:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="parkingName"  class="layui-input" style="width:300px;" value="{$info.parkingName}" readonly>
                </div>
            </div>
			<div class="layui-form-item">
                <label for="community_name" class="layui-form-label">
                    <span class="x-red"></span>小区:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="community_name"  class="layui-input" style="width:300px;" value="{$info.community_name}" readonly>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="group" class="layui-form-label">
                    <span class="x-red"></span>组团:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="group"  class="layui-input" style="width:300px;" value="{$info.group}" readonly>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="building" class="layui-form-label">
                    <span class="x-red">*</span>楼栋:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="building" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.building}" readonly>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="unit" class="layui-form-label">
                    <span class="x-red">*</span>单元:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="unit"  required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.unit}" readonly>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="room" class="layui-form-label">
                    <span class="x-red">*</span>房号:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="room"  required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.room}" readonly>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>业主姓名:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="L_username" name="owner_name" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.owner_name}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="phone" class="layui-form-label">
                    <span class="x-red">*</span>业主电话:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="phone" name="phone" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.phone}">
                </div>
            </div>
          <div class="layui-form-item">
              <label for="L_repass" class="layui-form-label"></label>
              <button  class="layui-btn" lay-filter="add" lay-submit="">修改</button>
          </div>
      </form>
    </div>

    <script>
        layui.use(['form','layer'], function(){
            $ = layui.jquery;
          var form = layui.form
          ,layer = layui.layer;
        
          //自定义验证规则

    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>